package com.chen.mapper;

import com.chen.entity.Order;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * 订单表 Mapper 接口
 * </p>
 *
 * @author cws
 * @since 2024-11-27
 */
public interface OrderMapper extends BaseMapper<Order> {

    /**
     * 修改订单状态
     * @param id
     * @param i
     * @return
     */
    int updateStatus(@Param("id") Long id, @Param("status")int status);
}
